// src/router/config.js
export default [
  {
    path: '/task',
    name: '任务管理',
    routes: [
      {
        path: '/task/list',
        name: '任务列表',
        component: '@/pages/Task/List'
      },
      {
        path: '/task/detail/:id?',
        name: '任务详情',
        component: '@/pages/Task/Detail',
        hideInMenu: true
      }
    ]
  },
  {
    path: '/config',
    name: '系统配置',
    routes: [
      {
        path: '/config/character',
        name: '人设配置',
        component: '@/pages/Config/Character'
      },
      {
        path: '/config/dimension',
        name: '评分维度',
        component: '@/pages/Config/Dimension'
      }
    ]
  }
];